package cl.ceis.demo4;

import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;

public class Demo4Activity extends Activity {
	
	LienzoGL lienzoGL;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        lienzoGL = new LienzoGL(getApplicationContext());
        
        Bitmap bitmap = BitmapFactory.decodeResource(this.getResources(),
				R.drawable.dirty);
        lienzoGL.loadBitmap(bitmap);
        
        setContentView(lienzoGL);
    }
}